home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / comm / bbs / F123_INS.lha / INSTALL < prev    next >
Text File  |  1996-12-24  |  49KB  |  1,081 lines

  1. ; $VER: FAME_INSTALL 1.2 (14.12.96) - written by Sascha "SieGeL" Pfalz
  2. ; Installer and Installer project icon
  3. ; (c) Copyright 1995-96 Escom AG.  All Rights Reserved.
  4. ; Reproduced and distributed under license from Escom AG.
  5. ;
  6. ; For best view set TAB space to 2
  7. ;
  8. ; V0.8 (14.02.96) - First Version, yet untested and unfinished
  9. ; V0.9 (21.03.96) - First complete Version (FULL_INSTALL) - UNTESTED
  10. ; V1.0 (24.03.96) - Bugfixed and finished Version.
  11. ; V1.1 (09.06.96) - Rewritten for Installer V43.3, fixed for Disk-Install.
  12. ;                   Uses now LHA V1.38 Evolution Version for safety install.
  13. ;                   Also Update no longer exists, will be supplied as
  14. ;                   seperate Script.
  15. ; V1.2 (14.12.96) - Changed the installation procedure from disks to complete
  16. ;                   lha archives. This makes the releases and the installation
  17. ;                   much easier. All FAME archives must be present in the
  18. ;                   subdir 'archives' of the installation dir.
  19.  
  20. ;======================================
  21. ;= INITIALISATION OF MAIN GLOBAL VARS =
  22. ;======================================
  23.  
  24. (set fame_search "FAME")        ; FAME Searchname for Devices
  25. (set fame_assign "FAME:")        ; FAME Assign
  26. (set fame_path "")                    ; FAME Path (if FAME exists, will be initialised!)
  27. (set fame_modules "")                ; FAME Path to Modules directory
  28. (set fame_libs "")                    ; FAME Libraries drawer
  29. (set fame_mainpart "")      ; MainPart path
  30. (set fame_filecheck "")            ; FileChecker Path
  31. (set fame_hydra "")                    ; FAME Hydra Path
  32. (set min_bytes 5500000)            ; Minimum amount of Bytes free for Installation!
  33. (set writetostartup 0)            ; 1 = Was written to S:user-startup, 0 = not written
  34. (set FIFOYES 0)                            ; 0 = not written to user-startup, 1 = was written
  35.  
  36. ;================
  37. ;= GERMAN TEXTS =
  38. ;================
  39.  
  40. (IF (= @language "deutsch")
  41.     (
  42.     (set default_lang 2)
  43.     (set #bad-kick        (cat            "\nSie benötigen mindestens Kickstart V2.04 oder\n\n"
  44.                                                             "höher, um das FAME-System zu benutzen !\n\n"
  45.                                                             "-> Bitte updaten Sie Ihr System <-"))
  46.     (set #bad-installer (cat        "\nDieses Installer-Skript benötigt Installer V42\n"
  47.                                                             "oder höher um korrekt zu arbeiten! Bitte\n"
  48.                                                             "verwenden Sie den mitgelieferterten Installer im\n"
  49.                                                             "'C/' Verzeichnis der FAME_Install Diskette !"))
  50.     (set #introduction (cat            "\n.:. FAME Installations-Skript .:.\n\n"
  51.                                                             "Dieses Skript installiert oder aktualisiert das\n"
  52.                                                             "FAME-System im logischen Assign 'FAME:'. Sollte\n"
  53.                                                             "dieses die Erstinstallation sein, wird eine\n"
  54.                                                             "Zuweisung für Sie erstellt.\n\n"
  55.                                                             "Benutzen Sie auch den 'Hilfe...' Knopf während der\n"
  56.                                                             "Installation, um detailiertere Informationen zu\n"
  57.                                                             "der Installation zu erhalten."))
  58.     (set #FameFound (cat                "\n!!! ACHTUNG !!!\n\nDer Installer hat eine bereits installierte Version\n"
  59.                                                             "der FAME entdeckt. Da dieses Skript nur die Demo-\n"
  60.                                                             "Version der FAME installiert, sollten Sie nur dann\n"
  61.                                                             "fortfahren, wenn Sie noch *KEINE* registrierte FAME\n"
  62.                                                             "installiert haben, da sonst Ihre Vollversion mit\n"
  63.                                                             "dieser Demo-Version überschrieben wird !\n\n"
  64.                                                             "Möchten Sie mit der Installation fortfahren ?"))
  65.     (set #AskLocation (cat            "Bitte Zielverzeichnis für FAME wählen.\n"
  66.                                                             "Es wird ein Verzeichnis namens FAME angelegt !"))
  67.     (set #AskLocHelp (cat                "Bitte wählen Sie hier das Zielverzeichnis für das\n"
  68.                               "FAME-System und alle benötigten Dateien. Bitte be-\n"
  69.                                                             "achten Sie, das ein eigenes Verzeichnis namens FAME\n"
  70.                                                             "in dem von Ihnen angegebenen Zielverzeichnis erstellt\n"
  71.                                                             "wird!!\n\n"
  72.                               "Für die vollständige Installation von FAME sind ca.\n"
  73.                                                             "5MB an Festplattenspeicher notwendig.\n\n\n\n\n\n" @askdir-help))
  74.   (set #NO_LOCATION (cat            "\n\nAngegebenes Zielverzeichnis für FAME ist\n\n"
  75.                                                             "KEIN gültiger Amiga-DOS Pfad!!!"))
  76.   (set #NO_FREE_STORE (cat        "\nAusgewählter Pfad:\n\n%s:\n\nAuf dem von Ihnen ausgewählten Pfad ist nicht mehr\n"
  77.                                                             "genug Platz für eine vollständige Installation !\n\n"
  78.                                                             "Bitte wählen Sie ein anderes Zielverzeichnis aus;\n"
  79.                                                             "für die Installation werden ca. 5MB an Platz benötigt."))
  80.     (set #Fame_Okay                            "\nFAME wird in folgendes Verzeichnis installiert:\n\n%s\n\nMit der Installation fortfahren ?")
  81.     (set #Fame_Okay_Help (cat        "Wenn der eingegebene Pfad für FAME korrekt ist,\n"
  82.                                                             "bestätigen Sie die Frage bitte mit 'JA'. Der \n"
  83.                                                             "Installer wird daraufhin dann alle notwendigen\n"
  84.                                                             "Dateien in dieses Verzeichnis kopieren.\n\n"
  85.                               "Sollte der Pfad nicht korrekt sein, antworten Sie\n"
  86.                                                             "bitte mit 'NEIN'. Sie werden daraufhin solange nach\n"
  87.                                                             "einem Pfad für die FAME gefragt, bis Sie diese Frage\n"
  88.                                                             "mit 'JA' bestätigen oder die Installation abbrechen."))
  89.     (set #NO_ASSIGN                            "\nInstaller konnte Assign FAME: nicht erzeugen !!!")
  90.     (set #askAssign    (cat                "Möchten Sie die Zuweisung 'FAME:' in Ihre\n"
  91.                                                             "User-Startup Datei eintragen lassen, oder\n"
  92.                               "soll diese Zuweisung vom FAME-Server automatisch\n"
  93.                                                             "beim Start erstellt werden ?"))
  94.     (set #AskAssignHelp (cat        "Wenn Sie die Zuweisung in Ihre User-Startup Datei\n"
  95.                                                             "eintragen lassen, dann wird diese Zuweisung bei\n"
  96.                                                             "jedem Systemstart automatisch mit angemeldet.\n"
  97.                                                             "Wenn Sie jedoch lieber FAME automatisch die\n"
  98.                                                             "Zuweisung beim Start des Servers erzeugen lassen\n"
  99.                                                             "wollen, dann wählen Sie 'vom FAME Server erzeugen\n"
  100.                                                             "lassen.'. Solange die FAME nicht gestartet wird,\n"
  101.                               "ist in diesem Fall die Zuweisung nicht vorhanden.\n\n"
  102.                                                             "Das FAME: Assign ist absolut zwingend erforderlich\n"
  103.                                                             "für das FAME-System, ohne dieses ist der Betrieb\n"
  104.                                                             "nicht möglich !\n"
  105.                                                             "Diese Zuweisung wird auch bereits während dieser\n"
  106.                                                             "Installation ausgeführt, da der SystemEditor zum\n"
  107.                                                             "Anlegen der Dateien diese Zuweisung benötigt.\n"
  108.                                                             "Sollten Sie die Zuweisung nicht vom Installer in\n"
  109.                                                             "Ihre User-Startup einfügen lassen, dann holen Sie\n"
  110.                                                             "Sie dieses bitte nach der Installation nach, da\n"
  111.                                                             "sonst nach einem Reset die FAME nicht mehr arbeiten\n"
  112.                                                             "kann !"))
  113.     (set #user_startup                    "Zuweisung in User-Startup eintragen.")
  114.   (set #auto_assign                        "Zuweisung vom FAME Server erzeugen lassen.")
  115.     (set #nowwriting                         "\nSchreibe Zuweisung in Ihre User-Startup Datei:\n\n%s")
  116.     (set #AskForServerLoc (cat    "Bitte Verzeichnis für den Server angeben:"))
  117.     (set #AskForServerHlp (cat    "Der Server der FAME ist ein absolut notwendiges\n"
  118.                                                             "Commodity, welches die komplette Kontrolle der\n"
  119.                                                             "FAME ermöglicht. Ohne den Server ist der Betrieb\n"
  120.                                                             "der FAME nicht möglich!!\n\n"
  121.                                                             "Wenn Sie die Mailbox automatisch beim Rechner-\n"
  122.                                                             "start hochfahren lassen möchten, dann lassen Sie\n"
  123.                                                             "den Server vom Installer das Wbstartup/ Ver-\n"
  124.                               "zeichnis Ihrer BootPartition kopieren.\n\n\n\n\n" @askdir-help))
  125.     (set #copyserver                        "Kopiere FAME Server...")
  126.     (set #copyserverhlp (cat        "Der FAME Server und das dazugehörige Piktogramm\n"
  127.                                                             "werden in das von Ihnen festgelegte Verzeichnis\n"
  128.                                                             "kopiert."))
  129.     (set #asklibdir                         "Bitte Verzeichnis für die\nFunktionsbibliotheken angeben:")
  130.     (set #asklibdirhelp (cat        "Geben Sie hier Ihr Verzeichnis der System-\n"
  131.                                                             "Bibliotheken an. Normalerweise wird die logische\n"
  132.                                                             "Zuweisung LIBS: verwendet, Sie können jedoch auch\n"
  133.                                                             "ein anderes Verzeichnis wählen, welches dem Such-\n"
  134.                                                             "pfad bekannt ist.\n\n" @askdir-help))
  135.     (set #famelib                                "\nKopiere FAME.Library...")
  136.     (set #famelib_hlp        (cat        "Die FAME.Library ist absolut zwingend erforderlich,\n"
  137.                                                             "da wichtige Teile der FAME in dieser Library ent-\n"
  138.                                                             "halten sind. Ausserdem wird diese Library zur \n"
  139.                                                             "Programmierung von FAME Doors benötigt.\n\n" @copylib-help))
  140.     (set #fifolib                                "\nKopiere FIFO.Library...")
  141.     (set #fifolib_hlp   (cat        "Die FIFO (First In, First Out) Library wird ver-\n"
  142.                                                             "wendet, um z.B. eine echte DOS-Shell zu realisieren,\n"
  143.                                                             "die Filechecker in Echtzeit laufen zu lassen etc.\n"
  144.                                                             "Auch diese Library ist absolut zwingend erforderlich.\n\n" @copylib-help))
  145.     (set #fifohandler                        "\nKopiere fifo-handler...")
  146.     (set #nofifo                (cat        "\nSollten Sie FIFO: noch nicht angemeldet haben,\n"
  147.                                                             "dann schreiben Sie bitte folgende Zeile in Ihre\n"
  148.                                                             "S:User-Startup:\n\nrun >NIL: <NIL: L:Fifo-Handler"))
  149.   (set #askforfifo        (cat        "\nMöchten Sie FIFO: beim Booten starten lassen ?\n"
  150.                               "Der Installer würde folgende Befehlszeile in Ihre\n"
  151.                                                             "S:User-Startup Datei einfügen:\n\n%s"))
  152.     (set #askforfifohlp    (cat        "Um das Gerät FIFO: zugänglich zu machen, muss der\n"
  153.                                                             "FIFO-Handler aus dem L: Verzeichnis gestartet werden.\n"
  154.                                                             "Sollten Sie bisher das FIFO: Gerät nicht installiert\n"
  155.                                                             "haben, dann lassen Sie vom Installer den Start in\n"
  156.                                                             "Ihre User-Startup Datei einfügen. Sollte dieser\n"
  157.                                                             "Aufruf bereits vorhanden sein, dann können Sie\n"
  158.                                                             "diesen Schritt natürlich überspringen."))
  159.     (set #writefifo                         "\nSchreibe Aufruf in Ihre User-Startup Datei:\n\n%s")
  160.     (set #fileidlib                            "\nKopiere FileID.Library...")
  161.     (set #fileidlib_hlp (cat        "Die FileID.Library wird zur Identifizierung der\n"
  162.                                                             "Dateiformate verwendet. Dadurch sind nur noch\n"
  163.                                                             "geringe Erkennungsfehler möglich. Diese Library\n"
  164.                                                             "muss installiert sein, damit FAME die Dateichecks\n"
  165.                                                             "durchführen kann.\n\n" @copylib-help))
  166.     (set #xprzlib                                "\nKopiere XprZModem.Library...")
  167.     (set #xprzlib_hlp     (cat        "Die XPRZModem.Library wird benötigt um Dateien\n"
  168.                               "mit Hilfe des Z-Modem Protokolls senden/empfangen\n"
  169.                                                             "zu können. Diese Library ist für den Betrieb von\n"
  170.                                                             "FAME nicht unbedingt erforderlich, da FAME mit allen\n"
  171.                                                             "XPR Transfer Libraries zusammenarbeitet.\n\n" @copylib-help))
  172.     (set #shellstart        (cat        "Kopiere Start-Skript für die FAME-interne\n"
  173.                                                             "Shell in das S: Verzeichnis unter dem Namen\n"
  174.                                                             "FAME-Startup."))
  175.     (set #shellstarthlp    (cat        "Die Datei FAME-Startup wird als Startskript für\n"
  176.                                                             "die eingebaute Shell verwendet. Sie können in\n"
  177.                                                             "diesem Skript den Shell-Prompt definieren, be-\n"
  178.                               "stimmte Pfade setzen etc. Weitere Informationen\n"
  179.                                                             "entnehmen Sie bitte dem Amiga-DOS Handbuch."))
  180.     (set #ERROR                                 "\n%s abgebrochen mit Fehlernummer %ld !")
  181.     (set #ARCHIVE1            (cat        "\n\nNotwendige Verzeichnisse und Systemdateien werden\n"
  182.                                                             "jetzt in Ihr FAME-Verzeichnis entpackt.\n\n"
  183.                                                             "Dies kann je nach Prozessor-Typ etwas länger dauern,\n"
  184.                                                             "bsp. ein MC68000 benötigt ca. 20 min !"))
  185.     (set #ARCHIVE1HLP        (cat        "Der Installer entpackt nun die von FAME zum Betrieb\n"
  186.                                                             "notwendigen Systemdaten und Verzeichnisse. Ausserdem\n"
  187.                                                             "werden einige Voreinstellungen mitkopiert, die Sie\n"
  188.                                                             "dann im SystemEditor noch nach Ihren eigenen Wünschen\n"
  189.                                                             "anpassen können."))
  190.     (set #ARCHIVE2                            "\n\nEntpacke und kopiere die Hauptprogramme der FAME...")
  191.     (set #ARCHIVE2HLP        (cat        "Der Installer kopiert nun die Hauptprogramme in Ihr\n"
  192.                                                             "angegebenes FAME-Verzeichnis. Ohne diese Dateien ist\n"
  193.                                                             "ein BBS-Betrieb nicht möglich !"))
  194.     (set #englishdocu                        "Englische Dokumentation")
  195.     (set #germandocu            "Deutsche Dokumentation")
  196.     (set #askformisc            "Bitte wählen Sie, welche zusätzlichen FAME-\nDateien installiert werden sollen:")
  197.     (set #askformischelp (cat        "Die folgenden zusätzlichen Dateien können\n"
  198.                                                             "installiert werden:\n\n"
  199.                                                             "Englische Doku. - Aktuelle Version der FAME-\n"
  200.                                   "                  Dokumentation.\n"
  201.                               "Archiver        - Enthält die folgenden Dateien:\n"
  202.                               "                  ARJ, CheckExe, DMS, LHA,\n"
  203.                                                             "                  DMSDescript, EXEDescript, LZX,\n"
  204.                                                             "                  mULTI-cHECK, TxtExtract, UNARJ,\n"
  205.                                                             "                  UNZIP, ZoomCheck.\n\n"
  206.                                                             "Sie sollten die Archiver auf jeden Fall instal-\n"
  207.                               "lieren lassen, damit FAME in der Lage ist, neue\n"
  208.                                                             "Uploads zu testen !"))
  209.     (set #EXTARCHIVE    (cat            "Entpacke %s, einen Moment bitte..."))
  210.     (set #EXTARCHIVEHELP (cat        "Das ausgewählte Archiv wird in das FAME Verzeichnis\n"
  211.                                                             "entpackt. Ein eigenes Verzeichnis für die jeweiligen\n"
  212.                                                             "Daten wird automatisch miterstellt."))
  213.     (set #resprompt (cat                "Bitte wählen Sie die Programmteile der FAME aus,\n"
  214.                                                             "die Sie dauerhaft resident beim Start von FAME\n"
  215.                                                             "laden lassen möchten:\n\n"
  216.                                                             "Siehe 'Hilfe...' für detailierte Informationen !"))
  217.     (set #resprompthlp (cat            "Sie werden aufgefordert anzugegeben, welche Programme\n"
  218.                               "der FAME automatisch beim Starten der FAME resident\n"
  219.                                                             "geladen werden sollen:\n\n"
  220.                                                             "MainPart        - Hauptprogramm der FAME, sollte\n"
  221.                                                             "                  IMMER resident geladen werden.\n"
  222.                                                             "FAMEFileChecker - FAME Dateitest-Programm.\n"
  223.                               "FAMEHydra       - Das HydraTool für FAME.\n\n"
  224.                                                              "Resident bedeutet, das diese Programme nur einmal in\n"
  225.                                                             "den Speicher geladen werden. Sollte dann dieses\n"
  226.                                                             "resident geladene Programm mehrere Male aufgerufen\n"
  227.                                                             "werden, dann werden nur noch Kopien des im Speicher\n"
  228.                                                             "befindlichen Programmes gestartet, und nicht das\n"
  229.                                                             "Programm jedesmal neu von Disk geladen. Residente\n"
  230.                                                             "Programme haben den Vorteil, weniger Speicher zu\n"
  231.                                                             "verbrauchen und ausserdem die Arbeitsgeschwindigkeit\n"
  232.                                                             "zu erhöhen.\n"
  233.                                                             "Um dieses zu nutzen, müßen alle Pfadangaben zu dem\n"
  234.                                                             "jeweiligen residenten Programm entfernt werden und\n"
  235.                                                             "das Programm nur noch mit dem Dateinamen gestartet\n"
  236.                                                             "werden. Dadurch wird das AmigaDOS veranlasst, zuerst\n"
  237.                                                             "die Liste der residenten Programme zu durchsuchen.\n"
  238.                                                             "Der Installer übernimmt dieses für Sie, dazu brauchen\n"
  239.                                                             "Sie nur die Programme auswählen, diese werden dann\n"
  240.                                                             "automatisch für Residentes Laden vorbereitet.\n\n"
  241.                                                             "Weitere Informationen über residente Programme finden\n"
  242.                               "Sie in Ihrem AmigaDOS Handbuch."))
  243.     (set #writefile    (cat                "\nSchreibe folgende Zeile in Datei FAMEStart.bat:\n\n%s"))
  244.     (set #writefilehelp (cat        "Die aufgeführte Zeile wird jetzt in die Skriptdatei\n"
  245.                                                             "FAMEStart.bat eingefügt. Weitere Informationen über\n"
  246.                                                             "diese Datei finden Sie in der FAME Dokumentation."))
  247.     (set #systeminfotext1    (cat    "\nInstaller startet nun den SystemEditor der FAME.\n"
  248.                               "Dieser legt alle noch fehlenden Dateien und\n"
  249.                                                             "Verzeichnisse automatisch an. Danach erscheint das\n"
  250.                                                             "System Data Fenster des SystemEditors, in diesem\n"
  251.                                                             "Fenster müssen Sie die notwendigen Grundeinstel-\n"
  252.                                                             "lungen Ihrer BBS,wie z.B. SysOp Name, BBS-Name,\n"
  253.                                                             "Verzeichnis der User.datas etc. vornehmen."))
  254.     (set #sysedstart1 (cat            "\nStarte SystemEditor zum Konfigurieren der\n"
  255.                                                             "notwendigen Systemdateien der FAME..."))
  256.  
  257.     (set #askbatch    (cat                "\nSoll der Installer die Startskripts für die\n"
  258.                                                             "beiden Tools 'LASTCALLERS' und 'MULTI-TOP' jetzt\n"
  259.                                                             "in das FAME:NODE0/NODEBATCHES/LOGOFFBATCHES/\n"
  260.                                                             "Verzeichnis kopieren ?\n\n"
  261.                                                             "Siehe 'Hilfe...' für weitere Informationen !"))
  262.     (set #batchhelp (cat                "LastCallers und Multi-Top sind FAME-Tools, die\n"
  263.                                                             "nach dem Ausloggen eines Users gestartet werden\n"
  264.                                                             "können. Wenn Sie es wünschen, dann wird der\n"
  265.                               "Installer jetzt zwei Scriptfiles in das Verzeichnis\n"
  266.                                                             "FAME:NODE0/NODEBATCHES/LOGOFFBATCHES kopieren:\n\n"
  267.                               "MULTI-TOP   - Skript um Multi-Top zu starten.\n"
  268.                               "LASTCALLERS - Skript um LastCallers zu starten\n\n"
  269.                                                             "Weiter Informationen über Logoff-Skripts ent-\n"
  270.                                                             "nehmen Sie bitte der FAME-Anleitung."))
  271.     (set #choosebatch    (cat            "\nBitte auswählen, für welche Programme\n"
  272.                                                             "Startskripts angelegt werden sollen:"))
  273.     (set #nodescreens (cat            "Bitte wählen Sie nun aus, wie die Einstellungen für\n"
  274.                                                             "die Bildschirmauflösung und den zu verwendenden Font\n"
  275.                                                             "der FAME Node Bildschirme ausgewählt werden sollen."))
  276.     (set #nodescreenshlp (cat        "Sie können sich nun aussuchen, auf welche Art die Einstellungen\n"
  277.                                                             "für die Bildschirmauflösungen und Fonts der FAME Node Bildschirme\n"
  278.                                                             "eingestellt werden sollen. Die folgenden Optionen sind möglich:\n\n"
  279.                                                             "Benutze FAME Voreinstellungsprogramm - Erlaubt Ihnen das vollständige\n"
  280.                                                             "Einstellen der Farben, Auflösungen und verwendeteten Fonts auf\n"
  281.                                                             "einem Beispiel Bildschirm der FAME, so daß die Einstellungen sofort\n"
  282.                                                             "sichtbar werden.\n\n"
  283.                                                             "Verwende BildschirmModus- und FontAuswahlfenster - Ermöglicht die\n"
  284.                                                             "Einstellung der Auflösung und der Fonts über ASL Auswahlfenster.\n"
  285.                                                             "(Diese Einstellung ist nur bei Verwendung von OS 3.x sichtbar!\n\n"
  286.                                                             "WorkBench Einstellungen kopieren - Übernimmt die Einstellungen\n"
  287.                                                             "der Workbench. Dieses ist die leichteste Art der Konfiguration,\n"
  288.                                                             "da alle Werte automatisch ermittelt werden."))
  289.     (set #famescreenselect            "pVerwende FAME Voreinstellungsprogramm")
  290.     (set #aslrequesterselect        "Verwende ASL Bildschirm- und Font Voreinsteller")
  291.     (set #clonewbselect                    "Kopiere Workbench Einstellungen")
  292.     (set #asklocale (cat                "\nSollen die deutschen Kataloge für den UserEditor\n"
  293.                                                             "und die FileID.library installiert werden ?\n"))
  294.     (set #asklocalehlp (cat            "Wenn Sie den UserEditor und die FileID.library in\n"
  295.                                                             "deutscher Sprache benutzen wollen, dann müssen\n"
  296.                                                             "Sie die Katalog-Dateien vom Installer kopieren\n"
  297.                                                             "lassen. Die Kataloge werden nach\n"
  298.                                                             "LOCALE:CATALOGS/DEUTSCH/ kopiert."))
  299.     ))
  300.  
  301. ;=================
  302. ;= ENGLISH TEXTS =
  303. ;=================
  304.  
  305. (IF (= @language "english")
  306.     (
  307.     (set default_lang 4)
  308.     (set #bad-kick        (cat            "\n\nYou must be using Kickstart V2.04 or higher\n\n"
  309.                                                             "to use the FAME-System!\n\n"
  310.                                                             "-> Please update your machine ! <-"))
  311.     (set #bad-installer (cat        "\nThis script requires Installer V42 or higher\n"
  312.                                                             "to run correctly! Please use the Installer found\n"
  313.                                                             "on the FAME_Install disk in drawer 'C/' !!"))
  314.     (set #introduction    (cat        "\n.:. FAME Installation-Script .:.\n\n"
  315.                                                             "This script will install or update the FAME-BBS\n"
  316.                                                             "to the logical Assign 'FAME:' . If this is the\n"
  317.                                                             "first installation, this assign will also be\n"
  318.                                 "created.\n\n"
  319.                                                             "Use the 'Help' Button during Installation for more\n"
  320.                                                             "detailed informations about all steps!\n\n"))
  321.     (set #FameFound (cat                "\n!!! WARNING !!!\n\nInstaller has found an already installed Version\n"
  322.                                                             "of FAME. This script install only the Demo-Version\n"
  323.                               "of FAME, so if you are a registered User, please\n"
  324.                                                             "*DON'T* continue with this installation or your\n"
  325.                                                             "registered Version of FAME will be overwritten \n"
  326.                                                             "with this Demo-Version !!!\n\n"
  327.                               "Do you want to continue with the Installation ?"))
  328.     (set #AskLocation (cat            "Please select destination for FAME.\n"
  329.                                                             "A drawer called FAME will be created!"))
  330.     (set #AskLocHelp (cat                "Please choose a destination for FAME and all needed\n"
  331.                               "files. Installer creates automatically a drawer\n"
  332.                                                             "called FAME inside the destination path, so you\n"
  333.                                                             "don't have to create it yourself!!!\n\n"
  334.                                                             "Approx. 5MB of HD-Space is required for full\n"
  335.                                                             "installation of FAME!\n\n\n\n\n\n\n" @askdir-help))
  336.     (set #NO_LOCATION    (cat            "\n\nLOCATION-PATH FOR FAME IS INVALID !"))
  337.   (set #NO_FREE_STORE (cat        "\nYour choice:\n\n%s:\n\nThe path you've choosen has not enough free\n"
  338.                                                             "Space to install the whole system!\n\n"
  339.                                                             "Please choose another path to install, and make\n"
  340.                                                             "sure that you have at least 5MB free on your\n"
  341.                                                             "choosen path for the installation!"))
  342.     (set #Fame_Okay                         "\nFAME will be installed in:\n\n%s\n\nContinue with the Installation ?")
  343.     (set #Fame_Okay_Help (cat   "\nIf the path for FAME is correct, answer with 'YES'\n"
  344.                               "and the Installer continues Installing all needed\n"
  345.                                                             "files for FAME to this Location.\n\n"
  346.                                                             "If the path is not correct, answer 'NO' and you\n"
  347.                                                             "will be again prompted to enter a path until you've\n"
  348.                                                             "answered with 'YES' or abort the Installation."))
  349.     (set #NO_ASSIGN                         "\nInstaller was not able to create assign FAME: !!!")
  350.   (set #askAssign    (cat                "Do you want to put the 'FAME:' Assign command\n"
  351.                                                             "to your User-Startup file or should the FAME\n"
  352.                               "Server create the Assign during startup ?"))
  353.   (set #AskAssignHelp    (cat        "If you put the Assignment into your User-Startup\n"
  354.                                                             "file, the Assign will be created everytime you\n"
  355.                                                             "boot your System. If you want to create this\n"
  356.                               "assign only when using FAME, choose the 'Use\n"
  357.                                                             "Auto-Assign Option'. The FAME Server will then\n"
  358.                                                             "create the Assign FAME: during the start of server.\n\n"
  359.                               "This Assign is required for FAME to work, also this\n"
  360.                               "Assign is created during Installation, as the System-\n"
  361.                               "Editor of FAME requires this to create all needed\n"
  362.                               "Systemdirectories in the right location. If you\n"
  363.                               "don't want to add this Line to your User-Startup,\n"
  364.                               "please do it yourself after the Installation, or the\n"
  365.                               "FAME-System won't work anymore after a Reset!"))
  366.     (set #user_startup                    "Put Assign into User-Startup.")
  367.   (set #auto_assign                        "Use Auto-Assign Option.")
  368.     (set #nowwriting                         "\nWriting commandline to your user-startup file:\n\n%s")
  369.     (set #AskForServerLoc (cat    "Please choose destination for the Server:"))
  370.     (set #AskForServerHlp (cat    "The Server of FAME is absolutly required to\n"
  371.                                                             "let FAME work, it is the main control program\n"
  372.                                                             "for the FAME-System. Without it, FAME will not\n"
  373.                               "work!!!\n\n"
  374.                                                             "If you want to Auto-Start FAME, simply copy the\n"
  375.                                                             "Server and his Icon to your WBStartup directory\n"
  376.                                                             "of your Boot partition. If you don't wish to\n"
  377.                                                             "start it automatically, copy it to the drawer\n"
  378.                                                             "FAME:Modules/.\n\n\n\n" @askdir-help))
  379.   (set #copyserver                        "Now copying FAME Server...")
  380.     (set #copyserverhlp (cat        "The FAME Server and it's icon will be copied to\n"
  381.                               "the drawer you've specified."))
  382.     (set #asklibdir                         "Please specify the destination drawer where\nyou have stored your libraries:")
  383.     (set #asklibdirhelp (cat        "You have to specify here the drawer where you've\n"
  384.                                                             "stored the libraries. Normally, this will be LIBS:,\n"
  385.                                                             "but of course it could be any other path which is\n"
  386.                                                             "added to the libraries search path.\n\n" @askdir-help))
  387.     (set #famelib                                "\nNow copying FAME.Library...")
  388.     (set #famelib_hlp        (cat        "The FAME.library is absolutly required to let FAME\n"
  389.                                                             "work, because some parts of FAME are integrated\n"
  390.                                                             "into this library. Also this library is required\n"
  391.                               "to program additional FAME doors.\n\n" @ copylib-help))
  392.     (set #fifolib                                "\nNow copying FIFO.Library...")
  393.     (set #fifolib_hlp        (cat        "FIFO (First In, First Out) library is used to allow\n"
  394.                                                             "the usage of an original DOS-shell or to let the\n"
  395.                                                             "filecheckers print their output in Realtime. This\n"
  396.                                                             "library is also required for FAME to work !\n\n" @copylib-help))
  397.     (set #fifohandler           "\nNow copying fifo-handler...")
  398.     (set #nofifo                (cat        "\nIf you haven't mounted the FIFO: device yet,\n"
  399.                               "please write the following line to your User-\n"
  400.                                                             "startup file:\n\nrun >NIL: <NIL: L:Fifo-Handler"))
  401.     (set #askforfifo        (cat        "\nDo you want to start FIFO: every time you boot ?\n"
  402.                                                             "Installer will insert the following commandline\n"
  403.                               "in your S:User-Startup-File:\n\n%s"))
  404.     (set #askforfifohlp    (cat        "To use the FIFO: device, you must start the FIFO-\n"
  405.                                                             "handler from the L: directory. If you haven't \n"
  406.                               "installed the FIFO: device until now, please let\n"
  407.                                                             "the installer insert the needed commandline to\n"
  408.                                                             "your User-Startup file. If it is already installed,\n"
  409.                                                             "you could of course skip this part of installation."))
  410.     (set #writefifo                            "\nWriting commandline in your User-Startup file:\n\n%s")
  411.     (set #fileidlib                            "\nNow copying FileID.Library...")
  412.   (set #fileidlib_hlp    (cat        "The FileID.library will be used to identify the\n"
  413.                                                             "format of uploaded files. In fact of using this\n"
  414.                                                             "library, recognition errors (wrong extension i.e.)\n"
  415.                                                             "are now much less than only checking the extension\n"
  416.                                                             "This library is required for FAME to work!\n\n" @copylib-help))
  417.     (set #xprzlib                                "\nNow copying XprZModem.Library...")
  418.     (set #xprzlib_hlp        (cat        "The XPRZModem.library is used to let users transfer\n"
  419.                                                             "files with the help of the Z-Modem protocol. This\n"
  420.                               "library is not required, because FAME is able to\n"
  421.                                                             "control all XPR Transfer libraries, and therefor\n"
  422.                               "it's your choice to install it or use other XPR-\n"
  423.                                                             "libraries instead.\n\n" @copylib-help))
  424.     (set #shellstart        (cat        "Now copying the Start-Script for the internal\n"
  425.                                                             "FAME Shell into your S: directory under the name\n"
  426.                                                             "FAME-Startup."))
  427.     (set #shellstarthlp (cat        "FAME-Startup will be used as Startscript for\n"
  428.                                                             "the internal Shell built into FAME. You could\n"
  429.                               "define the Shell-Prompt, set some pathes etc.\n"
  430.                                                             "Further informations could be found in your\n"
  431.                                                             "Amiga-DOS manual."))
  432.     (set #ERROR                                 "\n%s aborted with errornumber %ld !")
  433.     (set #ARCHIVE1            (cat        "\n\nNow extracting some important drawers and\n"
  434.                                                             "System-files to your FAME drawer.\n\n"
  435.                                                             "Depending on your processor-type it may take some\n"
  436.                                                             "time to extract the archive, i.e. a MC68000 CPU\n"
  437.                                                             "needs about 20 mins of extracting time !"))
  438.     (set #ARCHIVE1HLP        (cat        "Installer will now extract some drawers and System-\n"
  439.                               "files required by FAME to work into your FAME\n"
  440.                               "drawer. Also some default settings are copied."))
  441.     (set #ARCHIVE2                            "\n\nExtracting and copying the main programs...")
  442.     (set #ARCHIVE2HLP        (cat        "Installer copies now all main programs of FAME\n"
  443.                                                             "to your FAME-Drawer. Without those programs, FAME\n"
  444.                                                             "won't work !!!"))
  445.     (set #englishdocu           "English Documentation")
  446.     (set #germandocu                        "German Documentation")
  447.     (set #askformisc                        "Please choose the additional Parts\nof FAME to install:")
  448.     (set #askformischelp (cat        "The following parts may also installed:\n\n"
  449.                                                             "English Docu. - Latest Version of the\n"
  450.                                   "                FAME-Documentation.\n"
  451.                               "Archivers     - Contains the following archive-\n"
  452.                               "                testers: ARJ, CheckExe, DMS, LHA\n"
  453.                                                             "                DMSDescript,EXEDescript,LZX,\n"
  454.                                                             "                mULTI-cHECK,TxtExtract,UNARJ,\n"
  455.                                                             "                UNZIP,ZoomCheck.\n\n"
  456.                               "It's up to you to install them, at least you\n"
  457.                                                             "should install the Archivers to allow FAME\n"
  458.                                                             "to check all uploaded files !"))
  459.     (set #EXTARCHIVE                   "Extracting %s, please be patient...")
  460.     (set #EXTARCHIVEHELP    (cat    "Selected archive will be extracted to your FAME\n"
  461.                                                             "drawer. A drawer for the according files will be\n"
  462.                               "created."))
  463.   (set #resprompt (cat                "Please choose the Parts of FAME which you want\n"
  464.                                                             "to load resident when starting the FAME:\n\n"
  465.                                                             "See 'Help...' for detailed informations !"))
  466.     (set #resprompthlp (cat            "You where prompted to choose which parts of the\n"
  467.                                                             "FAME system should be loaded resident when starting\n"
  468.                                                             "FAME:\n\n"
  469.                                                             "MainPart        - Mainprogram of FAME, should be\n"
  470.                                                             "                  ALWAYS loaded resident !\n"
  471.                                                             "FAMEFileChecker - FAME FileCheck-Tool.\n"
  472.                               "FAMEHydra       - The HydraTool of FAME.\n\n"
  473.                                                              "Resident means that your choosen programs will be\n"
  474.                                                             "loaded into memory only one time. If the program\n"
  475.                                                             "will be started then more than one time, only copies\n"
  476.                                                             "of the program are returned instead of loading the\n"
  477.                                                             "program everytime new from disc. This saves memory\n"
  478.                                                             "and also increase the speed of FAME.\n"
  479.                                                             "To use this feature, you have to change all calls\n"
  480.                                                             "to those resident loadable programs by removing the\n"
  481.                                                             "path informations! Only the Filename remains, because\n"
  482.                                                             "AmigaDOS then searches first in the List of resident\n"
  483.                                                             "files before loading the file from disc. So make\n"
  484.                                                             "sure that you call resident programs only with their\n"
  485.                                                             "filename instead of using the whole path!\n\n"
  486.                               "More about this could be found in your ADOS manual."))
  487.     (set #writefile (cat                "\nWriting following line to file FAMEStart.bat:\n\n%s"))
  488.     (set #writefilehelp (cat        "The line written above will be added to the script\n"
  489.                                                             "file called FAMEStart.bat. Detailed informations\n"
  490.                                                             "about this file could be found in the FAME docu-\n"
  491.                                                             "mentation."))
  492.     (set #systeminfotext1 (cat    "\nInstaller now starts the SystemEditor of FAME.\n"
  493.                                                             "This program creates all missing datafiles and\n"
  494.                                                             "directories required to run FAME. After this, a\n"
  495.                                                             "window called \"SystemDatas\" appears and you\n"
  496.                                                             "must now configure your BBS into this window,\n"
  497.                               "like the SysOp Name, BBSName, directory of the\n"
  498.                               "user.datas etc."))
  499.     (set #sysedstart1 (cat            "\nNow starting SystemEditor to configure\n"
  500.                                                             "the System datas of FAME..."))
  501.     (set #askbatch     (cat                "\nDo you want to install now two startscripts into\n"
  502.                                                             "directory FAME:NODE0/NODEBATCHES/LOGOFFBATCHES/\n"
  503.                                                             "to let 'LASTCALLERS' and 'MULTI-TOP' be started\n"
  504.                                                             "automatically after someone logs out ?\n\n"
  505.                                                             "See 'Help...' for further informations !"))
  506.     (set #batchhelp (cat                "LastCallers and Multi-Top are FAME-Tools, which\n"
  507.                                                             "where started after an User logs out. If you\n"
  508.                                                             "wish, Installer will create two textfiles for these\n"
  509.                                                             "programs in FAME:NODE0/NODEBATCHES/LOGOFFBATCHES:\n\n"
  510.                                                             "MULTI-TOP   - Script to start Multi-Top.\n"
  511.                                                             "LASTCALLERS - Script to start LastCallers.\n\n"
  512.                                                             "Further Informations about the Logoff-Scripts of\n"
  513.                               "FAME could be found in the main documentation of\n"
  514.                                 "FAME (FAME.guide)."))
  515.     (set #choosebatch (cat            "\nPlease choose for which programs the Installer\n"
  516.                               "should create the start-scripts:"))
  517.     (set #nodescreens    (cat            "Please choose now how you wish to setup the\n"
  518.                                                             "resolutions and fonts to be used in the FAME Node screens."))
  519.  
  520.     (set #nodescreenshlp (cat        "Here you have to choose how the screen and font preferences\n"
  521.                                                             "for the FAME Node screens should be set. The following\n"
  522.                                                             "options are available:\n\n"
  523.                                                             "Use FAME Screen Preferences Tool - Allows you to setup the\n"
  524.                                                             "whole screen on an example FAME Node Screen, so you see\n"
  525.                                                             "your settings immediatly\n\n"
  526.                                                             "Use ScreenMode- and FontRequester (ONLY OS V3.x ) - Allows\n"
  527.                                                             "to setup the ScreenMode and the Font to be used via ASL\n"
  528.                                                             "requesters. Only visible if you are running AmigaOS V3.x!\n\n"
  529.                                                             "Clone Workbench Settings - FAME will use the same settings\n"
  530.                                                             "as your Workbench Screen. This is the easiest way, as you\n"
  531.                                                             "doesn't have to setup anything."))
  532.     (set #famescreenselect            "pUse FAME Preferences Program")
  533.     (set #aslrequesterselect        "Use ASL ScreenMode- and Fontrequesters")
  534.     (set #clonewbselect                    "Clone Workbench settings")
  535.     (set #asklocale (cat                "\nDo you want to install the german catalog-files\n"
  536.                                                             "for UserEditor and FileID.library ?\n"))
  537.     (set #asklocalehlp (cat            "If you want to run the UserEditor and FileID.library\n"
  538.                                                             "in german language, you have to install the catalogs.\n"
  539.                                 "If you wish to run them in german, The installer will\n"
  540.                                                             "copy the catalogs to LOCALE:CATALOGS/DEUTSCH/.\n"))
  541.     ))
  542.  
  543. ;=======================================================
  544. ;= PROCEDURE TO CHECK RETURNVALUE OF EXTERNAL PROGRAMS =
  545. ;=======================================================
  546.  
  547. (procedure p_checkit #checkvalue #name
  548.     (
  549.     (if (<> #checkvalue 0)
  550.         (
  551.         (set errline (#ERROR #name @ioerr))
  552.         (abort errline)))
  553.     )
  554. )
  555.  
  556.  
  557. ;===============================================
  558. ;= FIRST SYSTEM-CHECKS TO DETERMINE USED AMIGA =
  559. ;===============================================
  560.  
  561. (set osver (/ (getversion) 65536))            ; Determine OS Version...
  562. (if (< osver 37) ( (ABORT #bad-kick)))    ; ...and stop if OS < 37
  563.  
  564. (if (< (/ @installer-version 65536) 42) (abort #bad-installer))
  565.  
  566. (set aslver (/ (getversion "LIBS:asl.library") 65536))    ; Check asl.lib
  567.  
  568. (set used_cpu (database "cpu"))                    ;    CPU-Check for 020er Processors
  569.  
  570. (complete 0)
  571. (user 2)
  572. (message #introduction)
  573. (complete 1)
  574. (user 1)
  575. (welcome)
  576. (complete 5)
  577. (set old_level @user-level)
  578. (set fame_path (getassign fame_search))        ; Check for FAME: assign
  579. (if (<> fame_path "")                                            ; Found FAME, ask if it should be
  580.     (                                                                                ; replaced by this new Version
  581.   (message #FameFound)
  582.     (set @default-dest fame_path)
  583.   (set laenge (strlen(fame_path)))
  584.     (set laenge (- laenge 5))
  585.   (set @default-dest (substr fame_path 0 laenge ))
  586.     ))
  587. (complete 10)
  588.  
  589. ;==================================================
  590. ;= CHECK FOR FREE SPACE AND VALID PATH TO INSTALL =
  591. ;==================================================
  592.  
  593.  
  594. (set dirokay 0)
  595. (set continue 1)
  596. (while (= dirokay 0)
  597.     (
  598.     (set fame_path                                                            ; Get the FAME Destination
  599.         (askdir (prompt     #AskLocation)
  600.                         (help         #AskLocHelp)
  601.                         (default     @default-dest)))
  602.     (if (= fame_path "") (abort #NO_LOCATION))    ; No path given, aborting...
  603.     (set bytes (getdiskspace(fame_path)))
  604.     (set fame_path (tackon fame_path "FAME"))
  605.     (if (< bytes min_bytes)
  606.         (
  607.         (set checkdev (getdevice(fame_path)))
  608.         (if (<> checkdev "RAM")
  609.             (
  610.             (message (#NO_FREE_STORE checkdev))
  611.       (set dirokay 0)
  612.             (set continue 0)
  613.          )
  614.             (
  615.             (set continue 1)
  616.             ))
  617.         )
  618.         (
  619.         (set continue 1)
  620.         )
  621.     )
  622.     (complete 15)
  623.     (if (= continue 1)
  624.         (
  625.       (set dirokay
  626.             (askbool (prompt (#Fame_Okay fame_path))    ; Check if Drawer is okay
  627.                    (help #Fame_Okay_Help)
  628.                              (default 1)))
  629.         ))
  630.     ))
  631.  
  632. ;==========================================
  633. ;= SET MAIN GLOBAL VARS TO CURRENT PATHES =
  634. ;==========================================
  635.  
  636. (set @default-dest fame_path)
  637. (set fame_modules (tackon fame_path "Modules"))
  638. (set fame_mainpart (tackon fame_modules "MainPart"))
  639. (set fame_filecheck (tackon fame_modules "FAMEFileChecker"))
  640. (set fame_hydra (tackon fame_path "DOORS/FAME/FAMEHydra/FAMEHydra.FIM"))
  641.  
  642. ;=============================================================
  643. ;= CHECK FOR ASSIGN AND ASK HOW THE ASSIGN SHOULD BE HANDLED =
  644. ;=============================================================
  645.  
  646. (complete 20)
  647.  
  648. (makedir fame_path)                                                        ; Create some dirs
  649. (makedir fame_modules)
  650. (makeassign fame_search fame_path)                        ; Set assign + write to the
  651. (set dummy (getassign fame_search))                        ; S:User-Startup file if needed
  652. (if (= dummy "") (abort #NO_ASSIGN))
  653.  
  654. (complete 22)
  655.  
  656. (set autoassign
  657.     (askchoice    (prompt    #askAssign)
  658.                             (help        #askassignhelp)
  659.                             (choices     #user_startup
  660.                                                 #auto_assign)
  661.                             (default    1)))
  662.  
  663. (if (= autoassign 0)
  664.     (
  665.     (complete 24)
  666.  
  667.     (set commandline ("ASSIGN >NIL: FAME: %s" fame_path))
  668.   (startup     "FAME-BBS"
  669.                         (prompt    (#nowwriting commandline))
  670.             (help        @startup-help)
  671.             (command commandline))
  672.     (set writeit 1)
  673.   )
  674. )
  675.  
  676. ;===========================================================
  677. ;= INSTALL SERVER AND IT'S ICON TO USER-DEFINABLE LOCATION =
  678. ;===========================================================
  679.  
  680. (complete 26)
  681.  
  682. (set server_loc "")
  683.  
  684. (while (= server_loc "")                                            ; Check out Dest. for Server
  685.     (
  686.     (set server_loc
  687.         (AskDir (prompt        #AskForServerLoc)
  688.                         (help            #AskForServerHlp)
  689.                         (default  "Sys:WBStartup")))            
  690.     )
  691. )
  692.  
  693. (complete 28)
  694. (copyfiles    (prompt #copyserver)                            ; Copy Server to destination
  695.             (help        #copyserverhlp)
  696.                         (source "bin/Server")
  697.                         (dest        server_loc)
  698.                         (infos))
  699.  
  700. (if (= autoassign 1)
  701.     (
  702.     (complete 29)
  703.   (set newtt (tackon server_loc "Server"))
  704.     (tooltype (dest newtt)
  705.                         (settooltype "BBSLOCATION" fame_path)
  706.                         (settooltype "AUTOASSIGN" ""))
  707.     (set writeit 1)
  708.     )
  709. )
  710.  
  711. ;===========================================
  712. ;= INSTALL REQUIRED LIBRARIES AND HANDLERS =
  713. ;===========================================
  714.  
  715. (complete 30)
  716.  
  717. (set fame_libs                                                                ; Ask for Library Path (i.e. LIBS:)
  718.     (AskDir    (prompt #asklibdir)
  719.                     (help        #asklibdirhelp)
  720.           (default "LIBS:")))                                    ; Replace with LIBS:
  721.  
  722. (copylib    (prompt    #famelib)                                        ; Install FAME.library
  723.                     (help        #famelib_hlp)
  724.                     (source "libs/FAME.library")
  725.                     (dest        fame_libs)
  726.           (confirm))
  727.  
  728. (complete 32)
  729.  
  730. (copylib    (prompt    #fifolib)                                        ; Install fifo.library
  731.                     (help        #fifolib_hlp)
  732.                     (source "libs/fifo.library")
  733.                     (dest        fame_libs)
  734.           (confirm))
  735.  
  736. (complete 34)
  737.  
  738. (copylib        (prompt #fifohandler)                                ; Install fifo-handler
  739.                         (help        @copyfile-help)
  740.                         (source    "l/fifo-handler")
  741.                         (dest        "l:"))
  742.  
  743. (complete 36)
  744.  
  745. (set commandline "run >NIL: <NIL: L:Fifo-Handler")
  746. (set FIFOYES
  747.     (askbool     (prompt    (#askforfifo commandline))
  748.                         (help        #askforfifohlp)
  749.                         (default 1)))
  750.  
  751. (if (= FIFOYES 1)
  752.     (
  753.     (complete 37)
  754.  
  755.   (startup     "FIFO"                            ; Write FIFO Start to User-startup
  756.                          (prompt    (#writefifo commandline))
  757.             (help        @startup-help)
  758.               (command commandline))
  759.     )
  760. )
  761.  
  762. (complete 38)
  763.  
  764. (copylib    (prompt    #fileidlib)                 ; Install FileID.library
  765.                     (help        #fileidlib_hlp)
  766.                     (source "libs/FileID.library")
  767.                     (dest        fame_libs)
  768.           (confirm))
  769.  
  770. (complete 40)
  771.  
  772. (copylib    (prompt    #xprzlib)                                        ; Install xprzmodem.library
  773.                     (help        #xprzlib_hlp)
  774.                     (source "libs/xprzmodem.library")
  775.                     (dest        fame_libs)
  776.            (confirm))
  777.  
  778. (complete 42)
  779.  
  780. (copyfiles    (prompt    #shellstart)                            ; FAME Shell Startup -> S:
  781.                         (help        #shellstarthlp)
  782.                         (source    "s/FAME-Startup")
  783.                         (dest        "S:")                                        ; Replace with S:
  784.                         (confirm))
  785.  
  786. (copyfiles  (Prompt     "")                                            ; Copy lha to RAM: to allow
  787.                         (help            "")                                            ; diskchanging while depacking
  788.             (source     "c/")
  789.                         (choices     "lha"
  790.                                             "FAMEDataPatcher"
  791.                                             "TxtAdd")
  792.             (dest         "RAM:")
  793.                         (nogauge))
  794.  
  795. ;==========================================
  796. ;= INSTALL FOREIGN LANGUAGE CATALOG FILES =
  797. ;==========================================
  798.  
  799. (complete 44)
  800.  
  801. (set locale
  802.     (AskBool  (prompt    #asklocale)            ; Abfrage wegen deutscher Kataloge
  803.                         (help #asklocalehlp)
  804.                         (default 1)))
  805.  
  806. (complete 46)
  807.  
  808. (if (= locale 1)                                        ; Deutsche Kataloge kopieren
  809.     (
  810.     (copyfiles     (prompt #copyprompt3)
  811.               (source "catalogs/deutsch/")
  812.                             (dest "Locale:catalogs/deutsch/")
  813.                             (help #asklocalehlp)
  814.                             (choices "UserEd.catalog"
  815.                        "FileID_lib.catalog")
  816.                             (confirm))
  817.     ))
  818.  
  819. ;===============================================================
  820. ;= EXTRACT THE MAIN ARCHIVES COMMING FROM DISK "FAME_MAINFILES =
  821. ;===============================================================
  822.  
  823.  
  824. (complete 50)                                                                    ; Installing FAMEMain.lha
  825.  
  826. (working #ARCHIVE1)
  827. (set     cmdline ("RAM:LHA -q x archives/FAMEMain.lha %s" fame_assign))
  828. (set myerr
  829.     (run     cmdline
  830.           (prompt    #ARCHIVE1)
  831.                 (help        #ARCHIVE1HLP)))
  832. (p_checkit myerr "LHA")
  833.  
  834. (complete 55)                                                                    ; Installing FAMEMods.lha
  835.  
  836. (working #ARCHIVE2)
  837. (set     cmdline ("RAM:LHA -q x archives/FAMEMods.lha %s" fame_assign))
  838. (set  myerr
  839.     (run     cmdline
  840.           (prompt    #ARCHIVE2)
  841.                 (help        #ARCHIVE2HLP)))
  842. (p_checkit myerr "LHA")
  843.  
  844. ;======================================================
  845. ;= CHECK IF DOCS AND FILECHECKERS SHOULD BE INSTALLED =
  846. ;======================================================
  847.  
  848. (complete 56)
  849.  
  850. (set miscchoice
  851.     (AskOptions (prompt #askformisc)
  852.                             (help        #askformischelp)
  853.                             (choices  #englishdocu
  854.                                                 ""
  855.                                                 "Archiver")))
  856. (set dummy 0)
  857.  
  858. (if (IN miscchoice 0) (set dummy 1))
  859. (if (IN miscchoice 2) (set dummy 1))
  860.  
  861. (if (= dummy 1)
  862.     (
  863.     (if (IN miscchoice 0)
  864.         (
  865.         (set #dummy2 (#EXTARCHIVE "FAMEDocu.lha"))
  866.         (working #dummy2)
  867.         (set #cmdline ("RAM:lha -q x archives/FAMEDocu.lha %s" fame_assign))
  868.         (set  #myerr
  869.             (run     #cmdline
  870.                   (prompt    (#dummy2))
  871.                         (help        #DOCARCHIVEHELP)))
  872.         (p_checkit #myerr "LHA")
  873.         ))
  874.     (if (IN miscchoice 2)
  875.         (
  876.         (set #dummy2 (#EXTARCHIVE "FAMEMisc.lha"))
  877.         (working #dummy2)
  878.         (set cmdline ("RAM:lha -q x archives/FAMEMisc.lha %s" fame_assign))
  879.         (set  #myerr
  880.             (run     cmdline
  881.                   (prompt    (#dummy2))
  882.                         (help        #DOCARCHIVEHELP)))
  883.         (p_checkit #myerr "LHA")
  884.         ))
  885.  
  886.     ))
  887.  
  888. ;==================================================================
  889. ;= NOW LET THE USER CHOOSE WHICH FILES OF FAME SHOULD BE RESIDENT =
  890. ;==================================================================
  891.  
  892. (complete 60)
  893.  
  894. (set    fame_set (tackon fame_path "Settings/"))
  895. (set resprg
  896.     (AskOptions    (prompt    #resprompt)                            ; Enter resident Programs
  897.                             (help        #resprompthlp)
  898.                             (choices    "MainPart        409 kb"
  899.                                                 "FAMEFileChecker  11 kb"
  900.                                                 "FAMEHydra        56 kb")))
  901.  
  902.     (set res0 ("Resident %s PURE" fame_mainpart))
  903.     (set res1    ("Resident %s PURE" fame_filecheck))
  904.     (set res2    ("Resident %s PURE" fame_hydra))
  905.     (set bat  (tackon fame_set "FAMEStart.BAT"))
  906.     (set patchnode 0)
  907.     (set patchmods 0)
  908.  
  909. (complete 62)
  910.  
  911. (if (IN resprg 0)
  912.     (
  913.     (set #cmdline ("RAM:TxtAdd %s %s" bat res0))            ; MainPart resident
  914.     (set myerr
  915.         (run    #cmdline
  916.                     (prompt (#writefile res0))
  917.                     (help        #writefilehelp)))
  918.     (p_checkit myerr "TxtAdd")                                                ; Check for error
  919.     (set patchnode 1)
  920. ))
  921.  
  922. (complete 64)
  923.  
  924. (if (IN resprg 1)
  925.     (
  926.     (set #cmdline ("RAM:TxtAdd %s %s" bat res1))            ; FileChecker resident
  927.     (set myerr
  928.         (run    #cmdline
  929.             (prompt (#writefile res1))
  930.             (help        #writefilehelp)))
  931.     (p_checkit myerr "TxtAdd")
  932.     (set patchmods 1)
  933. ))
  934.  
  935. (complete 66)
  936.  
  937. (if (IN resprg 2)
  938.     (
  939.     (set     #cmdline ("RAM:TxtAdd %s %s" bat res2))    ; Hydra resident
  940.     (set  myerr
  941.         (run    #cmdline
  942.             (prompt (#writefile res2))
  943.             (help        #writefilehelp)))
  944.     (p_checkit myerr "TxtAdd")
  945. ))
  946.  
  947. (protect bat "+s")
  948.  
  949. (complete 68)
  950.  
  951. (message #systeminfotext1)                                        ; Info about SystemEditor
  952.  
  953. (complete 70)
  954.  
  955. (set sysedloc (tackon fame_modules "SystemEditor"))
  956. (set cmdline ("%s BBSLOCATION=%s CREATE JUMP=1 WINCLOSEQUIT" sysedloc fame_assign))
  957. (set myerr
  958.     (run cmdline                                                                            ; Start SystemEditor
  959.         (prompt #sysedstart1)
  960.             (help        #systeminfotext1)))
  961. (p_checkit myerr "SystemEditor")
  962.  
  963. (complete 71)
  964.  
  965. (if (>= aslver 38)                ; asl.library v38+ found, Screenmode req. possible!
  966.     (
  967.     (set osopt #aslrequesterselect)
  968.     (set defopt 1)
  969.     )
  970.     (
  971.     (set  osopt "")
  972.     (set defopt 0)
  973.     ))
  974. (set mode
  975.     (askchoice    (Prompt #nodescreens)
  976.                             (Help #nodescreenshlp)
  977.                             (choices     #famescreenselect
  978.                                                 osopt
  979.                                                 #clonewbselect)
  980.                             (Default defopt)))
  981.  
  982. (complete 72)
  983.  
  984. (set sysedloc (tackon fame_modules "SystemEditor"))
  985.  
  986. (set cmdline ("c/FAMEScrMode FAMELOCATION=%s MODE=%ld SYSEDLOCATION=%s" fame_assign mode sysedloc))
  987.  
  988. (set myerr
  989.     (run cmdline
  990.         (prompt     #scrmodestart)
  991.         (help            #scrmodehelp)))
  992. (p_checkit myerr "FAMEScrMode")
  993.  
  994. (complete 75)
  995.  
  996. (if (= patchnode 1)                                         ; Patch Resident Mainpart
  997.     (
  998.     (set nodeloc (tackon fame_path "Settings/Node0/Node.dat"))
  999.     (set cmdline ("RAM:FAMEDataPatcher %s 0 MainPart" nodeloc))
  1000.     (set myerr
  1001.         (run cmdline
  1002.                 (prompt "Patching...")
  1003.                 (help        "Patching Node.dat...")))
  1004.     (p_checkit myerr "FAMEDataPatcher")
  1005.     )
  1006. )
  1007.  
  1008. (complete 78)
  1009.  
  1010. (if (= patchmods 1)                           ; Patch Resident FileChecker
  1011.     (
  1012.     (set modsloc (tackon fame_path "Modules/FAMEModules.dat"))
  1013.     (set cmdline ("RAM:FAMEDataPatcher %s 1 FAMEFileChecker" modsloc))
  1014.     (set myerr
  1015.         (run cmdline
  1016.                 (prompt "Patching...")
  1017.                 (help        "Patching FAMEModules.dat...")))
  1018.     (p_checkit myerr "FAMEDataPatcher")
  1019.     )
  1020. )
  1021.  
  1022. (complete 80)
  1023.  
  1024. (set batchcopy                                                                ; Ask for Multi-Top/Lastcallers
  1025.     (AskBool    (prompt #askbatch)
  1026.                         (help   #batchhelp)
  1027.                         (default    1)))
  1028.  
  1029. (complete 82)
  1030.  
  1031. (if (= batchcopy 1)                                                        ; Copy batchfiles
  1032.     (
  1033.  
  1034.     (complete 84)
  1035.  
  1036.     (set whichone
  1037.         (AskOptions    (prompt        #choosebatch)                ; Select the Batches
  1038.                                 (help            #batchhelp)
  1039.                                 (choices  "Multi-Top"
  1040.                                                     "LastCallers")))
  1041.  
  1042.     (set nodedir (tackon fame_path "Node0/NodeBatches/LogoffBatches/"))
  1043.  
  1044.     (complete 86)
  1045.  
  1046.   (if (IN whichone 0)                                                    ; Install Multi-Top
  1047.         (
  1048.         (set multi    (tackon nodedir "MULTI-TOP"))
  1049.         (set entry    (tackon fame_path "Modules/ExternModules/Multi-Top"))
  1050.         (textfile    (prompt "Creating Multi-Top script...")
  1051.                 (help    #batchhelp)
  1052.                             (dest    multi)
  1053.                             (append entry))
  1054.         (protect multi "+s")))
  1055.  
  1056.         (complete 88)
  1057.  
  1058.         (if (IN whichone 1)                                                ; Install LastCallers
  1059.         (
  1060.             (set multi (tackon nodedir "LASTCALLERS"))
  1061.             (set entry    (tackon fame_path "Modules/ExternModules/LastCallers"))
  1062.             (set clog    (tackon fame_path "NODE<node>/CALLERS.LOG"))
  1063.             (set addy    (".key node\n.bra <\n.ket >\n%s %s <node> 10 BULLETINS:LASTCALLERS.TXT" entry clog))
  1064.             (textfile    (prompt    "Creating LastCallers script...")
  1065.                                 (help    #batchhelp)
  1066.                                 (dest    multi)
  1067.                                 (append addy))
  1068.             (protect multi "+s")
  1069.             ))
  1070.         ))
  1071.  
  1072. (complete 99)
  1073.  
  1074. (delete "RAM:LHA")                            ; Clean Up after install
  1075. (delete "RAM:FAMEDataPatcher")
  1076. (delete "RAM:TxtAdd")
  1077.  
  1078. (complete 100)
  1079.  
  1080. (exit)
  1081.